<?php

class rookiesModel extends Model
{
	public $_validate = array(
        array('title', 'require', '标题不可为空'), //不能为空
        array('img', 'require', '图片不可为空'), //不能为空
    );

    
	protected function _before_delete($options) {
		
	}
	protected function _after_insert($data, $options) {
		
    }
	protected function _after_update($data, $options) {
		
    }

}